//
//  HomeCell.swift
//  Media
//
//  Created by han on 2021/6/8.
//

import UIKit

class HomeCell: UITableViewCell {
    
    @IBOutlet weak var iconImageView: UIImageView!
    @IBOutlet weak var titleLabel: UILabel!
    @IBOutlet weak var backView: UIView!
    
    
    override func setHighlighted(_ highlighted: Bool, animated: Bool) {
        super.setHighlighted(highlighted, animated: animated)
        // 设置一下高亮
        if highlighted {
            backView.backgroundColor = UIColor.mainDark
        } else {
            backView.backgroundColor = UIColor.main
        }
    }
    
}
